<?php

class Application_Form_CDR extends Zend_Form
{

    public function init()
    {
    	$this->setName('CDR');
    	
    	$cep_start_date = new Zend_Form_Element_Text('cep_start_date');
    	$cep_start_date->setLabel("CEP Start Date")
    	    ->addFilter('StripTags')
    	    ->addFilter('StringTrim')
    		->setAttrib('class', 'short')
    		->setAttrib('id', 'datepicker1');
    	
    	$cep_end_date = new Zend_Form_Element_Text('cep_end_date');
    	$cep_end_date ->setLabel("CEP End Date")
    		->addFilter('StripTags')
    		->addFilter('StringTrim')
    		->setAttrib('class', 'short')
    		->setAttrib('id', 'datepicker2');
    	
    	$submit = new Zend_Form_Element_Submit('submit');
    	$submit->setAttrib('id', 'submit');
    	
    	$this->addElements(array($cep_start_date, $cep_end_date, $submit));
    }


}

